//package com.cx.ucenter.ctrl.avtivemq;
//
//import org.apache.activemq.command.ActiveMQQueue;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//import javax.jms.Queue;
//
///**
// * @Author:chenxiaoyi
// * @Date:2019/12/3 14:25
// */
//@Configuration
//public class MqConfig {
//
//
//    @Bean(name = "stringQueue")
//    public Queue stringQueue(){
//        return new ActiveMQQueue("string.queue");
//    }
//
//    @Bean(name = "objectQueue")
//    public Queue objectQueue(){
//        return new ActiveMQQueue("object.queue");
//    }
//
//}
